package uform.model.generator;

/**
 * ...
 * @author Franco Ponticelli
 */

enum FieldKind
{
	ValueField(description : ValueDescription);
	DefinitionsField(definitions : Hash<FieldInfo<Dynamic>>);
}

typedef ValueDescription = {
	type : String,
	args : Array<String>,
	validators : Array<Constructor>,
	meta : Hash<String>
}

typedef Constructor = {
	type : String,
	args : Array<String>,
}